package com.peas.platform.module.icims.budget.apply.adapter.repository.po;

import java.util.*;
import java.math.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.peas.platform.framework.mybatisplus.po.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.JdbcType;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

// 二上预算年度
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "`tbl_budget_two_year`")
public class BudgetTwoYearPo extends BasePo {

    //二上预算表ID
    //（二上预算编制表）外键
    @TableField(value = "`budget_two_id`", jdbcType = JdbcType.BIGINT)
    private Long budgetTwoId;

    //年度
    @Size(max = 4, message = "年度不能超过4个字符")
    @TableField(value = "`year`", jdbcType = JdbcType.VARCHAR)
    private String year;

    //单位申报数
    @TableField(value = "`apply_fund`", jdbcType = JdbcType.DECIMAL)
    private BigDecimal applyFund;

    //部门审核数
    @TableField(value = "`approve_fund`", jdbcType = JdbcType.DECIMAL)
    private BigDecimal approveFund;

    //预算审核数
    @TableField(value = "`budget_fund`", jdbcType = JdbcType.DECIMAL)
    private BigDecimal budgetFund;

    //纳入预算金额
    @TableField(value = "`bring_fund`", jdbcType = JdbcType.DECIMAL)
    private BigDecimal bringFund;

    //三保目录
    //下拉框选择
    @Size(max = 20, message = "三保目录不能超过20个字符")
    @TableField(value = "`third_catalog`", jdbcType = JdbcType.VARCHAR)
    private String thirdCatalog;

    //热点分类
    //下拉框选择
    @Size(max = 20, message = "热点分类不能超过20个字符")
    @TableField(value = "`hot_catalog`", jdbcType = JdbcType.VARCHAR)
    private String hotCatalog;

    //是否划拨三保专户项目
    //1是，0否
    @Size(max = 20, message = "是否划拨三保专户项目不能超过20个字符")
    @TableField(value = "`according`", jdbcType = JdbcType.VARCHAR)
    private String according;

    //备注
    @TableField(value = "`remark`", jdbcType = JdbcType.CLOB)
    private String remark;

}
